<template>
  <div class="grammar w600">

    <Answerarea>

    </Answerarea>
  </div>
</template>

<script>
import Header from "@/components/Header";
import Answerarea from "../components/Answerarea";

export default {
  name: "Grammartest",
  components:{
    Answerarea,
    Header
  },
  beforeCreate(){
    // 添加背景色
    document.querySelector('body').setAttribute('style', 'background-color:#f0f1f6')
  },
  beforeDestroy(){
    document.querySelector('body').setAttribute('style', '')
  },

}
</script>


<style scoped >
.grammar{

  height: 100%;
  padding: 20px;
}

</style>
